package request

type ReqConfig struct {
	BaseURL                string `json:"baseURL" binding:"required,max=255,min=2" label:"博客域名"`
	Title                  string `json:"title" binding:"required,max=255,min=2" label:"博客标题"`
	Theme                  string `json:"theme" binding:"required,max=255,min=2" label:"博客主题"`
	DefaultContentLanguage string `json:"DefaultContentLanguage" binding:"required,max=255,min=2" label:"默认语言"`
	Paginate               uint   `json:"paginate" binding:"required,min=1" label:"分页数量"`
	Limit                  uint   `json:"limit" binding:"required,min=1" label:"列表数量限制"`
	Author                 string `json:"author" binding:"required,max=255,min=2" label:"author"`
	Favicon                string `json:"favicon" binding:"required,max=255,min=2" label:"favicon"`
	Logo                   string `json:"logo" binding:"required,max=255,min=2" label:"logo"`
	DarkLogo               string `json:"darkLogo" binding:"required,max=255,min=2" label:"darkLogo"`
	Description            string `json:"description" binding:"required,max=255,min=2" label:"博客描述"`
	DateFormat             string `json:"dateFormat" binding:"required,max=255,min=2" label:"日期格式化"`
	BlogGroupBy            string `json:"blogGroupBy" binding:"required,max=255,min=2" label:"归档"`
	LatestPostsCount       uint   `json:"latestPostsCount" binding:"required,min=1" label:"首页显示最新几篇文章"`
	ShowAllPostsOnHomePage uint   `json:"showAllPostsOnHomePage" label:"首页是否显示所有文章"`
	Article_toc            uint   `json:"article_toc" label:"文章详情页是否显示标题列表"`
	About_title            string `json:"about_title" binding:"required,max=255,min=2" label:"关于我标题"`
	Footer_since           uint   `json:"footer_since" label:"页脚日期"`
	Footer_customText      string `json:"footer_customText" binding:"required,max=255,min=2" label:"页脚说明"`
}
